package com.etc.service.impl;
/*
 * 文件名：com.etc.service.impl.UserServiceImpl
 * 描述：用户操作的service接口的实现类
 * 作者：黄志鹏
 * 时间：2019/5/24 9:28
 */


import com.etc.dao.UserAddressDao;
import com.etc.entity.UserAddress;
import com.etc.service.UserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserAddressServiceImpl implements UserAddressService {

    @Autowired
    private UserAddressDao userAddressDao;

    @Override
    public List<UserAddress> selectAddress(Integer userid) {
        return userAddressDao.selectAddress(userid);
    }
}
